<?
include('domain_offer.html');
$plans=$template[plans];

include("choseplan_offer.html");
?>

<script>


function check_sel(elem){

var diva1= document.getElementById('uuu1');
var diva2= document.getElementById('uuu2');
        <?if(!$plan_to_display){?>
        var divt1 = document.getElementById('div_new');
        var divt2 = document.getElementById('div_existing');
        <?}?>
        if(elem.value == 'new' & elem.checked){
                        diva1.style.display='block';
                        diva2.style.display='none';
                                <?if(!$plan_to_display){?>
                                        divt1.style.display = 'block';
                                        divt2.style.display = 'none';
                                <?}?>

        }
        else{
                diva1.style.display='none';
                diva2.style.display='block';
                <?if(!$plan_to_display){?>
                divt1.style.display = 'none';
                divt2.style.display = 'block';
                <?}?>

        }

}

        radio=document.getElementById('<?echo $radio_domain?>');
	if(radio!=null) radio.click();
</script>

